﻿namespace Pdf2epub.Epub
{
    public class EpubStructure
    {
        private EpubFiles m_Files;

        /// <summary>
        /// Initalizes default settings for Epub file
        /// </summary>
        public EpubStructure()
        {
            Directories = new EpubDirectories();
            Files = new EpubFiles(Directories);
        }

        public EpubDirectories Directories { get; private set; }

        public EpubFiles Files
        {
            get
            {
                m_Files.UpdateBaseDirectories(Directories);
                return m_Files;
            }
            private set { m_Files = value; }
        }
    }
}